export const loadmoreDirective={
	inserted (el, binding) {
	  const SELECTWRAP_DOM = el.querySelector(
		'.el-select-dropdown .el-select-dropdown__wrap'
	  );
	  SELECTWRAP_DOM.addEventListener('scroll', function () {
		//   console.log(this.scrollTop, this.clientHeight, this.scrollHeight)
		const condition =
		  this.scrollHeight - this.scrollTop <= this.clientHeight + 0.5;
		if (condition) {
		  binding.value();
		}
	  });
	}
  }